package com.wframe.project.jnd.dao;

import java.util.List;

import org.springframework.stereotype.Repository;
import com.frame.database.JdataBean;
import com.frame.database.PageResult;
import com.wframe.framework.database.BaseDao;

@Repository
public class TestDao extends BaseDao{
 

	public void getAllUser() {
		PageResult pr=querySql("select * from wb_channel where code like ? order by id", new Object[]{"001%"},2,2);
		List<JdataBean> dlist=pr.getList();
		for(JdataBean bean:dlist){
			System.out.println(bean.getString("id")+"=="+bean.getString("name"));
		}
		
	}
}
